package org.learn.java.observ.watch;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Watched watched = new Watched();
		Watcher watcher = new Watcher();
		watched.addObserver(watcher);
		watched.setName("王海");

	}

}
